package rctgl.park.sv4;

import rctgl.park.RCTGLElement;

public abstract class SV4Element extends RCTGLElement
{
	
	
	protected boolean m_isLL=false;
	protected boolean m_isCompiled=false;
	
	protected int m_baseHeight, m_maxHeight, m_clearanceHeight;
	
	protected int m_xCoord = 0;
	protected int m_yCoord = 0;
	
	
	public void setCoordinates(int x, int y)
	{
		m_xCoord = x;
		m_yCoord = y;
	}
	
	public int getBaseHeight()
	{
		return m_baseHeight;
	}
	
	public int getMaxHeight()
	{
		return m_maxHeight;
	}
	
	
	public void setIsLL(boolean val)
	{
		m_isLL = val;
	}
	
	public boolean isLL()
	{
		return m_isLL;
	}
	
	public boolean isCompiled()
	{
		return m_isCompiled;
	}
	
	public void setIsCompiled(boolean val)
	{
		m_isCompiled = val;
	}
	
	protected void loadHeights(int [] data)
	{
		m_baseHeight = m_maxHeight = data[2];
		m_clearanceHeight = data[3];
		
	}

}
